package com.zjitc.dao;

import com.zjitc.model.CartItem;
import com.zjitc.model.Product;

import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/19 15:42
 * @description:
 */
public interface CartDao {

    Product findcartPid(Integer pid);

    List<CartItem> listCartItem(Integer uid);

    void addCart(CartItem cart);

    List<CartItem> listCart();

    void remover(Integer pid);

    void delete();
}
